package com.tql.mall.model.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tql.mall.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: tyk
 * @Date: 2023/6/12 20:59
 * @Description:
 */
@Data
@ApiModel(description = "退单")
@TableName("return_info")
public class ReturnInfo extends BaseEntity {


    @ApiModelProperty("订单编号")
    @TableField("order_id")
    private Long orderId;

    @ApiModelProperty("运单ID")
    @TableField("logis_id")
    private Long logisId;

    @ApiModelProperty("用户ID")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("店铺ID")
    @TableField("shop_id")
    private Long shopId;


    @ApiModelProperty("退货原因")
    @TableField("reason")
    private String reason;

    @ApiModelProperty("审批时间")
    @TableField("approve_time")
    private Date approveTime;

    @ApiModelProperty("状态")
    @TableField("state")
    private Integer state;

    @ApiModelProperty("金额")
    @TableField("amount")
    private BigDecimal amount;


}
